FileDirectoryName

Returns the directory path from a file path or the parent directory path from a subdirectory path.

Syntax

FileDirectoryName("FilePath")

Arguments

Argument Description
FilePath Full path to the file or subdirectory. See Identifying files and directories in statements for information about configuring full paths relative to the workspace or script directory.

Return value

Value Description
Value Directory path from the file or subdirectory path.

Example

FileDirectoryName("C:\\Testing\\Output.txt")